-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: wallet management v2 #69
Conversation
@Addminus I have the same issue with switching chains with the new implementation |
Related Should be fixed in the next MetaMask extension release 🙂 |
{installedWallets.map((wallet: Wallet) => ( | ||
<ListItemButton | ||
key={wallet.name} | ||
onClick={() => handleConnect(wallet)} | ||
> | ||
<ListItemAvatar> | ||
<Avatar | ||
src={(wallet.icon as any).src || wallet.icon} | ||
alt={wallet.name} | ||
> | ||
{wallet.name[0]} | ||
</Avatar> | ||
</ListItemAvatar> | ||
<ListItemText primary={wallet.name} /> | ||
</ListItemButton> | ||
))} | ||
|
||
{notInstalledWallets.map((wallet: Wallet) => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably merge these arrays and map through one. 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Accidentally merged previous PR 😅
@Addminus please check comments from the previous one #67